package com.sparrow.example_message.rank.resp;

import com.baidu.bjf.remoting.protobuf.annotation.Package;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import com.sparrow.example_message.PacketId;
import com.sparrow.example_message.rank.vo.RankVo;
import com.sparrow.socket.anno.Packet;

import java.util.List;


@Package("com.sparrow.example_message.proto")
@ProtobufClass(description = "返回排行榜列表")
@Packet(msgId = PacketId.Rank.RESP_RANK_LIST)
public class RespRankList {
    @Protobuf(description = "desc")
    private List<RankVo> rankList;

    @Protobuf(description = "desc")
    private int rankType;

    public int getRankType() {
        return rankType;
    }

    public void setRankType(int rankType) {
        this.rankType = rankType;
    }
    public List<RankVo> getRankList() {
        return rankList;
    }

    public void setRankList(List<RankVo> rankList) {
        this.rankList = rankList;
    }
}
